package com.example.service;

import com.example.dao.BackendApiDao;
import com.example.entity.BackendApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BackendApiService {

    @Autowired
    BackendApiDao backendApiDao;

    public List<BackendApi> getApis() {
        return backendApiDao.getAllApis();
    }
}
